import { combineReducers } from 'redux';
import userReducer from './user';
import channelsReducer from './channels';
import searchReducer from './search';
import articleReducer from './article';
import commentReducer from './comment';

const rootReducer = combineReducers({
  user: userReducer,
  channels: channelsReducer,
  search: searchReducer,
  article: articleReducer,
  comment: commentReducer,
});

export default rootReducer;
